package CollectIteratorDemo;

import com.temp.demo.Student;

import java.util.*;

public class StreamDemo {
    public static void main(String[] args) {
        List<String> students = new ArrayList<>();
        Student s1 = new Student("张三","20","男","94");
        Student s2 = new Student("李四","22","男","98");
        Student s3 = new Student("小丽","21","女","96");
        
        students.stream().filter(s->s.contains("")).forEach(System.out::println);

    }
}
